﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SetCode
{
    public class Configure
    {
        public Configure()
        { }
   
        private int _id;
        private string _tablename1;
        private string _columnkey;
        private string _ctrltype;
        private string _tablename2;
        private string _column2;
        private string _key2;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 外键表
        /// </summary>
        public string tablename1
        {
            set { _tablename1 = value; }
            get { return _tablename1; }
        }
        /// <summary>
        /// 外键字段
        /// </summary>
        public string columnkey
        {
            set { _columnkey = value; }
            get { return _columnkey; }
        }
        /// <summary>
        /// 生成控件类型
        /// </summary>
        public string ctrltype
        {
            set { _ctrltype = value; }
            get { return _ctrltype; }
        }
        /// <summary>
        /// 主键表
        /// </summary>
        public string tablename2
        {
            set { _tablename2 = value; }
            get { return _tablename2; }
        }
        /// <summary>
        /// 主键默认显示字段
        /// </summary>
        public string column2
        {
            set { _column2 = value; }
            get { return _column2; }
        }
        /// <summary>
        /// 主键表主键
        /// </summary>
        public string key2
        {
            set { _key2 = value; }
            get { return _key2; }
        }

       
    }
}
